#include "Bonus.h"
#include "WObject.h"

Bonus::Bonus (const Point3d &pos, const RGBd &col) : WObject(pos, 0.0, 2.0), _color(col) 
{ 
}

void 
Bonus::renderOn (AbstractRenderer *renderer) 
{ 
	renderer->renderBonus(this); 
}

void Bonus::onCollision (WObject *from)
{
	from->applyBonus(this);
}
